<?php

/**
 * @author shuang
 * @date 2016-10-26 14:14:05
 */
use yii\helpers\Url;
use yii\helpers\ArrayHelper;

echo $this->render("//layouts/breadcrumb", ["url" => Url::toRoute(["article/help"]), "title" => "帮助中心"]);
?>
<div class="container-fluid">
    <div class="row-fluid">
        <div class="span12 well  ibox float-e-margins">
            <div class="ibox-title">帮助中心</div>
            <div class="well-content ibox-content">
                <ul>
                    <?php foreach ($data as $item): ?>
                        <li><a href="<?php echo Url::toRoute(["helpshow", "id" => $item["id"]]); ?>"><?php echo ArrayHelper::getValue($item, "title"); ?></a></li>
                    <?php endforeach; ?>
                </ul>
                <div class="pagination" style="float:right;">
                    <?php
                    echo
                    \yii\widgets\LinkPager::widget([
                        'pagination' => $pager,
                        'nextPageLabel' => '下一页',
                        'prevPageLabel' => '上一页',
                    ]);
                    ?>
                </div>
            </div>
        </div>
    </div>
</div>

